package com.HomeWorkhsp.Chapter08.homework.homework10;

public class Test {
    public static void main(String[] args) {
        Person p = new Student();
        p.eat();
        p.run();

        Student s = (Student) p;

        s.run();
        s.eat();
        s.study();
    }
}
